def max_min(ls):
    return max(ls), min(ls)


def main():

    a = input("请输入由数字组成的字符串，用空格分隔\n").split(' ')
    b=list()
    for i in range(len(a)):
        b.append(int(a[i]))
    b = tuple(b)
    print(b)
    print("元组当中的最大值与最小值为", max_min(b))


main()
